package com.zrrd.exception;

/**
 * @author WanJl
 * @version 1.0
 * @title Demo01
 * @description
 * @create 2024/3/31
 */
public class Demo01 {
    public static void main(String[] args) {
        System.out.println(1/0);//算术异常
        System.out.println(1.0/0);//Infinity  正无穷
        System.out.println(-1.0/0);//-Infinity 负无穷
        System.out.println(0.0/0);// NaN  Not a Number 非数
    }
}
